package com.example.locat.abs;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


public abstract class Location<T extends SignalNode> {

    protected Map<Double, List<T>> nodes = new HashMap<>();

    public  abstract Location addNode(T node);

    public abstract  Location removeNode(T node);

    public Map<Double, List<T>> getNodes(){
        return nodes;
    }
    public abstract Point getLocation();

}
